package com.ymttest.database.mapping;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import com.ymttest.database.model.*;

public interface FileMd5Mapper {
	/**
	 * 图片MD5
	 * @param m
	 * @return
	 */
	@Select("select * from filemd5 where FilePath=#{path}")
	List<Map> selectFilemd5(Map m);
	/**
	 * 确认过的图片
	 * @param m
	 * @return
	 */
	@Select("select * from confirm_file where FilePath=#{path}")
	List<Map> selectConfirmFile(Map m);
	/**
	 * 删除的图片
	 * @param m
	 * @return
	 */
	@Select("select * from expired_file where FilePath=#{path}")
	List<Map> selectExpiredFile(Map m);
}